$OpenBSD: patch-src_libopensc_pkcs15-pin_c,v 1.1 2016/11/24 09:54:51 dcoppa Exp $

commit 12f402616050e6ac943217b2170e865c1a297e77
Author: Jakuje <jakuje@gmail.com>
Date:   Mon Oct 10 22:21:46 2016 +0200

Fix Coverity remarks

--- src/libopensc/pkcs15-pin.c.orig	Fri Jun  3 11:19:51 2016
+++ src/libopensc/pkcs15-pin.c	Thu Nov 24 09:58:03 2016
@@ -384,7 +384,7 @@ int sc_pkcs15_change_pin(struct sc_pkcs15_card *p15car
 	struct sc_context *ctx = p15card->card->ctx;
 	struct sc_pin_cmd_data data;
 	struct sc_pkcs15_auth_info *auth_info = (struct sc_pkcs15_auth_info *)pin_obj->data;
-	struct sc_card *card = p15card->card;
+	struct sc_card *card;
 	int r;
 
 	LOG_FUNC_CALLED(ctx);
